Help on PHP CURL script [closed]

Posted by Sumeet Jain on Pro Webmasters See other posts from Pro Webmasters or by Sumeet Jain
Published on 2012-10-08T17:01:59Z Indexed on 2012/10/08 21:51 UTC
Read the original article Hit count: 184

Filed under:

This script uses a cookie.txt in the same folder chmoded to 777...

The problem i am facing is i hav many accounts to login... Say if i hav 5 accounts...i created cookie1.txt,cookie2.txt an so on.. then the script worked..with

the post data

But i want this to be always logged in and post data.. Can anyone tell me how to do this?????

Code which works for login and post data is

http://pastebin.com/zn3gfdF2

Code which i require should be something like this ( i tried with using the same cookie.txt but i

guess it expires :( )

http://pastebin.com/45bRENLN

Please help me with dealing with cookies... Or suggest how to modify the code without using cookie files...

© Pro Webmasters or respective owner

Related posts about authentication